package cn.cxy.MyTest;/**
 * @Author 金帮嘉诚 @Date 2021-06-26 星期六 17:20
 */
/*本类用于测试*/

import com.sun.org.apache.bcel.internal.generic.ANEWARRAY;

import javax.jws.Oneway;

/**知识点*/
public class TestInterface {
    public static void main(String[] args) {
//        AA aaa=new AA();
        AA.eat1();
    }
}
class A implements B,C{}
interface B{}
interface C{}

class AA{
    static AA aa=new AA();
    static void eat1(){
        aa.eat2();
    }
    public void eat2(){
        System.out.println("2");
    }
}